<?php
return [
    'id' => 'couponsCode-form',
    'template' => 'form_default',
    'enableClientValidation' => false,
    'enableAjaxValidation' => true,
    'options' => [],
    'models' => [
        'couponscode' => [
            'title' => '领券',
            'th_with' => 60,
            'elements' => [
                'coupons_id' => [
                    'type'=>'widget',
                    'class'=> \kartik\select2\Select2::className(),
                    'data' => [],
                    'options' => ['placeholder' => '请选择...'],
                ],
                'number' => [
                    'type' => 'text',
                    'options' => ['class' => 'input-text','style'=>'width:220px;']
                ],
                'salesman_id' => [
                    'type'=>'widget',
                    'class'=> \kartik\select2\Select2::className(),
                    'data' => [],
                    'options' => ['placeholder' => '请选择...'],
                ],

            ],
        ]
    ]
];
